import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/drama_play_rand_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class DramaPlayRandEntity {

	@JSONField(name: "drama_id")
	int? dramaId;
  
  DramaPlayRandEntity();

  factory DramaPlayRandEntity.fromJson(Map<String, dynamic> json) => $DramaPlayRandEntityFromJson(json);

  Map<String, dynamic> toJson() => $DramaPlayRandEntityToJson(this);

  DramaPlayRandEntity copyWith({int? dramaId}) {
      return DramaPlayRandEntity()..dramaId= dramaId ?? this.dramaId;
  }
    
  @override
  String toString() {
    return jsonEncode(this);
  }
}